package com.example.bilibili.func;

import java.util.LinkedHashMap;
import java.util.Map;

public class BilibiliLinks {
    //主页信息
    public final static String INFO = "https://api.bilibili.com/x/space/acc/info?mid=%s&jsonp=jsonp";
    //关注和粉丝
    public final static String FOLLOWER = "https://api.bilibili.com/x/relation/stat?vmid=%s&jsonp=jsonp";
    //点赞和观看书
    public final static String ARCHIVE = "https://api.bilibili.com/x/space/upstat?mid=%s&jsonp=jsonp";
    //视频评论
    public final static String REPLY = "https://api.bilibili.com/x/v2/reply/main?mode=3&next=%d&oid=%s&plat=1&type=1";
    //视频列表
    public final static Map<String, String> VIDEOS = new LinkedHashMap<>();

    static {
        VIDEOS.put("新人", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=0&type=rookie");
        VIDEOS.put("原创", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=0&type=origin");
        VIDEOS.put("影视", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=181&type=all");
        VIDEOS.put("娱乐", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=5&type=all");
        VIDEOS.put("时尚", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=155&type=all");
        VIDEOS.put("鬼畜", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=119&type=all");
        VIDEOS.put("动物圈", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=217&type=all");
        VIDEOS.put("美食", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=211&type=all");
        VIDEOS.put("生活", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=160&type=all");
        VIDEOS.put("汽车", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=223&type=all");
        VIDEOS.put("运动", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=234&type=all");
        VIDEOS.put("科技", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=188&type=all");
        VIDEOS.put("知识", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=36&type=all");
        VIDEOS.put("游戏", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=4&type=all");
        VIDEOS.put("舞蹈", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=129&type=all");
        VIDEOS.put("音乐", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=3&type=all");
        VIDEOS.put("动画", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=1&type=all");
        VIDEOS.put("国创", "https://api.bilibili.com/x/web-interface/ranking/v2?rid=168&type=all");
    }

//    //用户投稿视频列表
//    public final static String VIDEOS = "https://api.bilibili.com/x/space/arc/search?mid=49918689&ps=30&tid=0&pn=1&keyword=&order=pubdate&jsonp=jsonp";
//    //收藏夹
//    public final static String COLLECTION = "https://api.bilibili.com/x/v3/fav/folder/created/list?pn=1&ps=10&up_mid=49918689&jsonp=jsonp";
//    //收藏夹视频
//    public final static String COLLECTION_VIDEOS = "https://api.bilibili.com/x/v3/fav/resource/list?media_id=856782889&pn=1&ps=20&keyword=&order=mtime&type=0&tid=0&platform=web&jsonp=jsonp";

}
